]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionDownloader: Don't reuse .prompt-* style classes
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 16 Jul 2017 12:57:59 +0000 (14:57 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 16 Jul 2017 16:14:01 +0000 (18:14 +0200)
Those will go away when we port authentication prompts to the new
MessageDialogContent widget, so pick the style classes from there
and adjust individual properties with more specific rules to re-
produce the existing style.

https://bugzilla.gnome.org/show_bug.cgi?id=784985

data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell-sass
data/theme/gnome-shell.css
js/ui/extensionDownloader.js

index be23adca9887c6798608b778355e837de67877e8..66aa66b77ce4c00205582a0d1493cc0550eb9d62 100644 (file)
@@ -489,6 +489,14 @@ StScrollBar {
   color: #999999;
   font-weight: bold; }
 
+/* Extension Dialog */
+.extension-dialog .message-dialog-main-layout {
+  spacing: 24px;
+  padding: 10px; }
+
+.extension-dialog .message-dialog-title {
+  color: #b2b2a9; }
+
 /* Network Agent Dialog */
 .network-dialog-secret-table {
   spacing-rows: 15px;
index 8e42cb424f727d9bf5be4f70971042760c5925ee..68fff905b0927ff1594061d03418221c312b2f75 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8e42cb424f727d9bf5be4f70971042760c5925ee
+Subproject commit 68fff905b0927ff1594061d03418221c312b2f75
index beafb18b55b463056c8137e5e52aa31efc213d78..2d041cf97af51a9b1d121711bd6ea71d989dc7ba 100644 (file)
@@ -489,6 +489,14 @@ StScrollBar {
   color: #8e8e80;
   font-weight: bold; }
 
+/* Extension Dialog */
+.extension-dialog .message-dialog-main-layout {
+  spacing: 24px;
+  padding: 10px; }
+
+.extension-dialog .message-dialog-title {
+  color: #b2b2a9; }
+
 /* Network Agent Dialog */
 .network-dialog-secret-table {
   spacing-rows: 15px;
index 0b026d2c54f7cc51ab91c71ad1e09330a34eeb08..6fa06279a2cbef638797ee2a94ee2bfc60d31756 100644 (file)
@@ -203,7 +203,7 @@ const InstallExtensionDialog = new Lang.Class({
 
         let message = _("Download and install “%s” from extensions.gnome.org?").format(info.name);
 
-        let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout',
+        let box = new St.BoxLayout({ style_class: 'message-dialog-main-layout',
                                      vertical: false });
         this.contentLayout.add(box);
 
@@ -211,7 +211,7 @@ const InstallExtensionDialog = new Lang.Class({
         let icon = new St.Icon({ gicon: gicon });
         box.add(icon);
 
-        let label = new St.Label({ style_class: 'prompt-dialog-headline headline',
+        let label = new St.Label({ style_class: 'message-dialog-title headline',
                                    text: message });
         box.add(label);
     },